<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			function Student(name,age,say){
				this.name = name;
				this.age = age;
				this.say = say;
			}
			Student.prototype.show=function(){
				alert("姓名："+this.name + "\n年龄："+this.age+"\n自我介绍："+this.say);
			}
			var stu = new Student("高乐乐",15,"我是一个初中生");
			stu.show();
		</script>
	</body>
</html>
